﻿/// <reference path="jquery-1.2.6-vsdoc.js" />
$(document).ready(function() {
    $("div.drop_menu").bind("mouseover", function() { $(this).css("display", "block") });
    $("div.drop_menu").bind("mouseout", function() { $(this).css("display", "none") });
    $("td.tabUnSelected").mouseover(function() {
        var t = this.id.replace("Menu", "dropMenu")
        $("div[@id=" + t + "]").css("display", "block");
        $("div[@id=" + t + "]").css("left", 52 + this.offsetLeft);
    });
    $("td.tabUnSelected").mouseout(function() {
        var t = this.id.replace("Menu", "dropMenu")
        $("div[@id=" + t + "]").css("display", "none");
    });
    /*listview */
    var currentcolor;
    $("table.listview").find("tr").bind("mouseover", function() {
        currentcolor = this.style.backgroundColor;
        this.style.backgroundColor = "#E0DDDD";
    });
    $("table.listview").find("tr").bind("mouseout", function() {
        this.style.backgroundColor = currentcolor;
    });
    $("input[@name=ListViewselectall]").bind("click", function() {
    //debugger;
        $("table.listview").find("input[@type=checkbox]").attr("checked",this.checked);
    });
});